package com.teacher.pojo.dto.classfraction;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class ClassFractionUpdateDto {
    private Long id;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "老师评分（满分两分）")
    @NotNull(message = "老师评分不能为空")
    private BigDecimal teacherFraction;

    @ApiModelProperty(value = "测评小组评分(满分1分)")
    @NotNull(message = "测评小组评分不能为空")
    private BigDecimal groupFraction;
}
